//
//  YTChatListViewModel.m
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/4/28.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTChatListViewModel.h"
#import "YTMessageServices.h"

@interface YTChatListViewModel ()
@property (strong, nonatomic, readwrite) RACCommand *loadAllMessage;
@end

@implementation YTChatListViewModel
- (void)initialize {
    [super initialize];
    self.loadAllMessage = [[RACCommand alloc] initWithSignalBlock:^RACSignal *(id input) {
        return [YTMessageServices loadAllMessage];
    }];
}
@end
